import Vue from "vue";
import App from "./App.vue";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import { Message } from "element-ui";
import router from "./router";
import store from "./store";
// import "@/assets/font_3622637_9h81vgluva4/iconfont.css";
// import 'video.js/dist/video-js.css'
import "./registerServiceWorker";

import * as Tools from "@/utils/tools";
import * as filters from "@/utils/filters";

Vue.config.productionTip = false;

Vue.use(ElementUI);
Vue.prototype.$Tools = Tools;
Vue.prototype.$message = Message;

Object.keys(filters).forEach((item) => {
  Vue.filter(item, filters[item]);
});

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
